package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 材料对象 material
 *
 * 材料表与记录表与明细表
 * @author ruoyi
 * @date 2020-12-16
 */
public class MaterialSeven extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name="材料序号")
    private Long mId;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String mName;

    /** 规格型号 */
    @Excel(name = "型号")
    private String mModel;

    /** 规格型号 */
    @Excel(name = "规格")
    private String mdSpecifications;

    /** 材料单位 */
    @Excel(name = "材料单位")
    private String mUnit;

    /** 使用量 */
//    @Excel(name = "使用量")
    private Double mNumber;

    /** 备注 */
//    @Excel(name = "备注")
    private String mRemarks;

    /** 仓库材料明细 */
    private Long mdId;

    /** 材料单价 */
    @Excel(name = "材料单价")
    private Double mdPrice;

    /** 材料品牌
     */
    @Excel(name = "材料品牌")
    private String mdBrand;

    /** 材料来源 */
    @Excel(name = "材料来源")
    private String mdSupplier;

    /** 材料供应商 */
    @Excel(name = "材料供应商")
    private String mdBusiness;

    /** 现有总量 */
    @Excel(name = "现有总量")
    private Double mdSum;

    /** 总金额 */
//    @Excel(name = "总金额")
    private Double mdMoney;

    /** 入库时间
     */
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date mdIndate;

    /** 材料外键 */
//    @Excel(name = "材料外键")
    private Long mdMId;

    /** 出入库表 */
    private Long wrId;

    /** 所属项目 */
//    @Excel(name = "所属项目")
    private Long wrPId;

    /** 材料外键 */
//    @Excel(name = "材料外键")
    private Long wrMId;

    /** 所属仓库 */
//    @Excel(name = "所属仓库")
    private Long wrWId;

    /** 操作时间 */
//    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date wrDate;

    /** 操作内容 */
//    @Excel(name = "操作内容")
    private String wrState;

    /** 出入库数量 */
//    @Excel(name = "出入库数量")
    private Double wrNumber;

    /** 去向 */
//    @Excel(name = "去向")
    private String wrWhereabouts;

    /** 备注 */
//    @Excel(name = "备注")
    private String wrRemark;

    /** 总金额 */
    @Excel(name = "总金额")
    private Double money;

    /** 仓库名称 */
//    @Excel(name = "仓库名称")
    private String wname;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private String beginWDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endWDate;

    /** 来源类型 */
    @Excel(name = "来源类型")
    private Integer mdType;

    public Integer getMdType() {
        return mdType;
    }

    public void setMdType(Integer mdType) {
        this.mdType = mdType;
    }

    @Override
    public String toString() {
        return "MaterialSeven{" +
                "mId=" + mId +
                ", mName='" + mName + '\'' +
                ", mModel='" + mModel + '\'' +
                ", mdSpecifications='" + mdSpecifications + '\'' +
                ", mUnit='" + mUnit + '\'' +
                ", mNumber=" + mNumber +
                ", mRemarks='" + mRemarks + '\'' +
                ", mdId=" + mdId +
                ", mdPrice=" + mdPrice +
                ", mdBrand='" + mdBrand + '\'' +
                ", mdSupplier='" + mdSupplier + '\'' +
                ", mdBusiness='" + mdBusiness + '\'' +
                ", mdSum=" + mdSum +
                ", mdMoney=" + mdMoney +
                ", mdIndate=" + mdIndate +
                ", mdMId=" + mdMId +
                ", wrId=" + wrId +
                ", wrPId=" + wrPId +
                ", wrMId=" + wrMId +
                ", wrWId=" + wrWId +
                ", wrDate=" + wrDate +
                ", wrState='" + wrState + '\'' +
                ", wrNumber=" + wrNumber +
                ", wrWhereabouts='" + wrWhereabouts + '\'' +
                ", wrRemark='" + wrRemark + '\'' +
                ", money=" + money +
                ", wname='" + wname + '\'' +
                ", beginWDate='" + beginWDate + '\'' +
                ", endWDate='" + endWDate + '\'' +
                ", mdType=" + mdType +
                '}';
    }

    public Long getmId() {
        return mId;
    }

    public void setmId(Long mId) {
        this.mId = mId;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getmModel() {
        return mModel;
    }

    public void setmModel(String mModel) {
        this.mModel = mModel;
    }

    public String getMdSpecifications() {
        return mdSpecifications;
    }

    public void setMdSpecifications(String mdSpecifications) {
        this.mdSpecifications = mdSpecifications;
    }

    public String getmUnit() {
        return mUnit;
    }

    public void setmUnit(String mUnit) {
        this.mUnit = mUnit;
    }

    public Double getmNumber() {
        return mNumber;
    }

    public void setmNumber(Double mNumber) {
        this.mNumber = mNumber;
    }

    public String getmRemarks() {
        return mRemarks;
    }

    public void setmRemarks(String mRemarks) {
        this.mRemarks = mRemarks;
    }

    public Long getMdId() {
        return mdId;
    }

    public void setMdId(Long mdId) {
        this.mdId = mdId;
    }

    public Double getMdPrice() {
        return mdPrice;
    }

    public void setMdPrice(Double mdPrice) {
        this.mdPrice = mdPrice;
    }

    public String getMdBrand() {
        return mdBrand;
    }

    public void setMdBrand(String mdBrand) {
        this.mdBrand = mdBrand;
    }

    public String getMdSupplier() {
        return mdSupplier;
    }

    public void setMdSupplier(String mdSupplier) {
        this.mdSupplier = mdSupplier;
    }

    public String getMdBusiness() {
        return mdBusiness;
    }

    public void setMdBusiness(String mdBusiness) {
        this.mdBusiness = mdBusiness;
    }

    public Double getMdSum() {
        return mdSum;
    }

    public void setMdSum(Double mdSum) {
        this.mdSum = mdSum;
    }

    public Double getMdMoney() {
        return mdMoney;
    }

    public void setMdMoney(Double mdMoney) {
        this.mdMoney = mdMoney;
    }

    public Date getMdIndate() {
        return mdIndate;
    }

    public void setMdIndate(Date mdIndate) {
        this.mdIndate = mdIndate;
    }

    public Long getMdMId() {
        return mdMId;
    }

    public void setMdMId(Long mdMId) {
        this.mdMId = mdMId;
    }

    public Long getWrId() {
        return wrId;
    }

    public void setWrId(Long wrId) {
        this.wrId = wrId;
    }

    public Long getWrPId() {
        return wrPId;
    }

    public void setWrPId(Long wrPId) {
        this.wrPId = wrPId;
    }

    public Long getWrMId() {
        return wrMId;
    }

    public void setWrMId(Long wrMId) {
        this.wrMId = wrMId;
    }

    public Long getWrWId() {
        return wrWId;
    }

    public void setWrWId(Long wrWId) {
        this.wrWId = wrWId;
    }

    public Date getWrDate() {
        return wrDate;
    }

    public void setWrDate(Date wrDate) {
        this.wrDate = wrDate;
    }

    public String getWrState() {
        return wrState;
    }

    public void setWrState(String wrState) {
        this.wrState = wrState;
    }

    public Double getWrNumber() {
        return wrNumber;
    }

    public void setWrNumber(Double wrNumber) {
        this.wrNumber = wrNumber;
    }

    public String getWrWhereabouts() {
        return wrWhereabouts;
    }

    public void setWrWhereabouts(String wrWhereabouts) {
        this.wrWhereabouts = wrWhereabouts;
    }

    public String getWrRemark() {
        return wrRemark;
    }

    public void setWrRemark(String wrRemark) {
        this.wrRemark = wrRemark;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getWname() {
        return wname;
    }

    public void setWname(String wname) {
        this.wname = wname;
    }

    public String getBeginWDate() {
        return beginWDate;
    }

    public void setBeginWDate(String beginWDate) {
        this.beginWDate = beginWDate;
    }

    public String getEndWDate() {
        return endWDate;
    }

    public void setEndWDate(String endWDate) {
        this.endWDate = endWDate;
    }
}
